package com.hubu.oop;

public class Test2 {
	public static void main(String[] args) {
		Student s1 = new Student();
		Student s2 = new Student();
		s1.name =   "Jason";
		s1.age = 23;
		
		Computer c = new Computer();
		c.brand = "lenovo";
		c.cpuSpeed = 100;
		
		s1.computer = c;
		s2.computer = c;
		s1.computer.brand = "IBM";  
		System.out.println("s1 " +s1.computer.brand);
		System.out.println("s2 " +s2.computer.brand);
	}
}
